import QtQuick 1.1

Item {
    id: root
    width: parent.width; height: col.height

    property string valor: ""
    signal selecionado(string v)

    Column {
        id: col
        width: parent.width
        spacing: 10

        Text {
            text: valor
            color: platformStyle.colorNormalLight
            font { pixelSize: 26 }
            x: 10
        }

        Rectangle {
            width: parent.width; height: 1;
            color: platformStyle.colorNormalLight
        }
    }

    MouseArea {
        width: parent.width; height: parent.height;
        onClicked: selecionado(root.valor);
    }
}
